package com.cee.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cee.dto.OneSelectDTO;
import com.cee.model.OneSelect;

import java.util.List;

public interface OneSelectMapper extends BaseMapper<OneSelect> {

    void saveOneSelect(OneSelect oneSelect);


    /**
     * 查询列表
     * @param oneSelectDTO
     * @return
     */
    List<OneSelectDTO> getOneSelectList(OneSelectDTO oneSelectDTO);


    /**
     * examId查询List
     * @param examId
     * @return
     */
    List<OneSelectDTO> getListByExamId(Integer examId);


    void updateOneSelectById(OneSelect oneSelect);
}
